﻿namespace Eflong.SocketClient
{
    public enum NetworkModes { Client , Bridge , Gate };

    public delegate void DefinitionChangedHandler( object sender , MessageEventArgs e );

    public delegate void DataChangedHandler( object sender , MessageEventArgs e );

    public delegate void QueryCoalMineInfoHandler( object sender , MessageEventArgs e );

    public delegate void ConnectedHandler( object sender , MessageEventArgs e );

    /// <summary>
    /// 联网矿改变事件处理委托
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    public delegate void CoalMineChangedHandler( object sender , MessageEventArgs e );

    public delegate void ErrorMessageHandler( object sender , MessageEventArgs e );

    public delegate void ShowMessageHandler( string msg );

    public delegate void SetTextCallback( string text );
}